package com.stx.mall.service;

import com.stx.mall.model.User;

import java.util.List;

public interface UserService {

    public User login(String username, String password);

    public boolean register(User user);

    public List<User> findAllUsers();

    public boolean isExist(String uname);

}
